package com.example.demo.mapper;

import com.example.demo.entity.Env;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EnvMapper {
    void insert(Env env);

    List<Env> selectByProjectId(@Param(value = "projectId") int projectId);

    Env selectById(@Param(value = "id") int id);

    void updateEnv(Env env);

    void deleteEnv(@Param(value = "id") int id);
}
